Wormhole Maker v0.56 OXP
by Switeck (switeck@hotmail.com)
Feb 14, 2023

...Because not all shortcuts are obvious.

This special equipment is a TESTING CHEAT, plain and simple -- not meant for general release. 

It can do a jump-chain across the galaxy map or just a free jump to whatever system you have targeted within 7 Light-Years. This can be used in conjunction with my Misjump Inducer OXP to misjump. If your current system target is the system you're in, a random nearby system is chosen.

I used this and my Misjump Inducer OXP to find the route to the unreachable systems in Galaxy 3.

It also claims to require my Misjump Inducer OXP to work fully.
Message thread for Misjump Inducer:
http://aegidian.org/bb/viewtopic.php?f=4&t=9551

Now also requires Variable Jump Drive System, Wormhole Scanner, Advanced Navigational Array, and Misjump Inducer!
This is very complex equipment...Even as a cheat, I don't want to make it easy to get!


Requires v1.75.0 or later of Oolite to work at all. It will not run on older versions!
May have issues with anything less than v1.75.4!
v0.55 and later requires v1.79 trunk versions or later to work correctly! (due to MODE changes)

--------------------------------------------------------------

License:

This OXP is released under the Creative Commons Attribution - Non-Commercial - Share Alike 3.0 license.

--------------------------------------------------------------

Instructions:

Unzip the file, and then move the folder "Wormhole maker v0.56.oxp" to the AddOns directory of your Oolite installation. Remove/delete older Wormhole Maker version folder/s because they conflict with v0.56.

It costs 1000 credits and is available at practically all systems.
This equipment allows you to automatically multi-jump to distant systems without fuel considerations.

--------------------------------------------------------------

How to Use:

Once fitted, Wormhole Maker can be activated using the v1.75 activation method. (N and Shift+N)

Now supports different MODEs:
	Wormhole maker default mode 0 -- using short-range <7 LY jump chains, shortcuts, and special routes!
	Wormhole maker mode 1 -- auto-find short <7 LY jump routes disabled.
	Wormhole maker mode 2 -- auto-find shortcuts AND short <7 LY multi-jump routes disabled.
	Wormhole maker mode 3 -- no special/fixed pre-programmed routes used.
	Wormhole maker mode 4 -- use fewest jumps instead of quickest time.

Using Mode 4 in conjunction with either impossible-to-reach systems OR no destination set will DESTROY your ship -- this is useful for quickly restarting from last savegame for testing!

Scanner Targeting Enhancement and Wormhole Scanner equipment and Misjump Inducer must be functional for Wormhole Maker to work! These are needed to measure the wormhole before and while passing through it, to know when the ship reaches the halfway point to trigger a stable exit...or to allow completely passing through a semi-stable wormhole by countering field fluctuations that might otherwise cause an early exit.

This equipment is NOT infallible! Unstable wormholes, random Thargoid ambushes (which use a very powerful field generator to collapse the wormhole tunnel), and/or other equipment may disrupt it!

Use with caution -- if you're using Wormhole Drones, LinkG7, OneWayTicket2Oresrati, or similar -- activating this equipment will probably break their jump-chain, leaving you short of their intended destination.

--------------------------------------------------------------

v0.56.38	Fixed broken Cross-the-map and go to Oresrati in Galaxy Chart 8. (Big "OOPS!" on my part!)
v0.56.37	Skips jumps if somehow reaches a destination early. Allows a Jump Path to be full of garbage jumps that it will ignore!
v0.56.33	Jump-Route tables now using shorter variable names, Jump route array now renamed to swiJumpRoute
v0.56.24 to v0.56.32	Minor code clean-up as well minor route improvements and more minor routes added!
v0.56.23	WyldRide random route to 133 Ditere in Galaxy Chart 3 now uses big CASE list!
v0.56.22	WyldRide random route to 133 Ditere in Galaxy Chart 3 - last version using easier-to-read if statements
v0.56.18	Now partially handles duplicate and some impossible jump corrections!
v0.56.15	WyldRide random route to 133 Ditere in Galaxy Chart 3 added back!
v0.56.13	Found even faster routes to Ditere in Galaxy Chart 3.
v0.56.12	Best "likely" routes to Ditere in Galaxy Chart 3.
v0.56.10	Now includes the ability to do misjumps to random systems in a pre-programmed jump route (uses 50299 as the typical method, but even 50666 should work!)
	Also includes harder-to-read destinations, using 300-555 and 700-955 with everything else in between being a random jump.
v0.55.77	Now comes with self-destruct! Set same system as in and fewest jumps. Useful for quickly reloading from last save. Can also do jump routes using fewest jumps.
v0.55.76	Slightly improved shortcuts for GC1 and GC8
v0.55.75	Fixed inability to jump FROM interstellar space unless mode set to >0.
v0.55.71	Mode function sets whether to do shortcut finding or multiple jumps even if <7 LY distance.
v0.55	Supersedes Switeck's Autojumper OXP, complete with pre-programmed jump routes but currently lacking automatic time-saving pathfinding. Can cross rifts/voids to reach "unreachable" systems in Galaxy Charts 3, 7, and 8.
v0.54	Converted to use this. OXP-local variables instead of Global variables!
v0.53	NOW handles gracefully being in Galaxy Charts outside the usual 1-8 ones! Limited to only 0-7 LY jumps though, with flavor text warning.
v0.52	Cleaned up jump logic
v0.51	Now does more...